package org.holynite.fieldmanage.managed.model

import javax.faces.bean.ManagedBean
import javax.faces.bean.ViewScoped

/**
 * Created by midnite on 15/1/31.
 */
@ManagedBean
@ViewScoped
class ChargeSchemeFormBean implements Serializable {
    String schemeName, enableScheme, extendTime, preciseCharge, selectedScheme
    Boolean addMode

    ChargeSchemeFormBean() {
        addMode = false
    }

    void clearForm() {
        schemeName = ""
        enableScheme = true
        extendTime = false
        preciseCharge = false
    }
}
